<!-- 京东金融 80000 JDF001 -->
<template>
  <div>测试</div>
  <van-button
    class="[--van-button-default-border-color:var(--fxl-orderlist-button-border-color)]"
    :style="{
      color: 'var(--fxl-orderlist-button-text-color)',
    }"
    plain
    round
  >
    测试全局主题
  </van-button>
</template>
<script lang="ts" setup>
import { getSetting } from '@/settings'
const { title = '', home: datas = {} } = getSetting()

console.log('datas', datas)

// 设置组件名称，用于keepalive缓存
defineOptions({
  name: 'home',
})

showToast({ message: '测试' })

const baseEnv: unknown = ref(__BASE_ENV__)
console.log('baseEnv', baseEnv)

// const numbers = [1, 2, 3, 4, 5]

// const result = numbers.reduce((accumulator, current) => {
//   return [...accumulator, current * 2]
// }, [])

// // [ 2, 4, 6, 8, 10 ]
// console.log(result)

// http://192.168.204.185:8888/fls-manage-ui/?memberCode=fc259b4f95f1cddcbefacc24225be936&channelCode=JDF001
</script>

<style lang="less" scoped></style>
